package org.huangrui.javase.basic.control;

import org.junit.Test;

/**
 * @Author hr
 * @Create 2025-11-14 16:45
 **/
public class T01For {
    @Test
    public void testFor1(){
        for (int i = 1; i <= 5; i++) {
            for (int j = 1; j <=5 ; j++) {
                System.out.print(j);
                if (i == j){
                    break;
                }
            }
            System.out.print(" ");
        }
    }
    @Test
    public void testFor2(){
        System.out.println(2 << 3);
        // String s = 10;
    }
}
